#导包
import requests

#准备测试数据
url = "http://www.litemall360.com:8080/wx/auth/login"
d = {
    "username":"user123",
    "password":"user123"
}

#进行测试，保存结果
r = requests.post(url, json=d)

#打印状态码和文本
print(r.status_code)
print(r.text)
t = r.json()
print(t["errno"])
print(t["data"]["token"])